package org.jctc.els.modules.biz.entity.message;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.jctc.els.modules.biz.entity.user.User;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class MessageExpand extends Message{

    @ApiModelProperty(value = "班级ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long classId;

    @ApiModelProperty(value = "学校ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long schoolId;

    @ApiModelProperty(value = "用户集合")
    private List<User> userList;

    @ApiModelProperty(value = "学校名称")
    private String schoolName;

    @ApiModelProperty(value = "学校名称")
    private Integer readFlag;
}
